<?php

use Biz\service\activity\Coupon as sCoupon;
/**
 * @deprecated
 */
class CouponListAction extends ActionPlugin
{

    public function main()
    {
        $shopId = $this->getRequest()->getQuery('shop_id', 0);

        $couponList = sCoupon::shopCouponList($shopId, $this->uid);

        $this->setSuccess(['list' => $couponList]);

    }
}